import execjs
'''
1. 长房网aes加密 url = "http://eip.chanfine.com/login.jsp?login_error=1"
'''
node = execjs.get()

ctx = node.compile(open('./文件/changfang.js', encoding='utf-8').read())

funcName = 'getPwd("{0}")'.format("121333")
pwd = ctx.eval(funcName)

print(pwd)